<template>
  <div class="container-page-all">
    <div class="list">
      <div class="orderList">
        <div class="state">已付款</div>
      </div>
      <list />

      <div class="total">
        <div class="totalNum">共4件商品</div>
        <div class="cost">合计:￥39.9</div>
        <div class="cancel-btn">取消订单</div>
        <div class="ok-btn">确认</div>
      </div>

    </div>
  </div>
</template>

<script>
import list from '@/components/list'
export default {
  components: {
    list
  }
}
</script>
<style lang="less">
.container-page-all {
  width: 100%;
  padding: 3vw 4vw 1vw;
  background: #f5f6f8;
  box-sizing: border-box;
  .list {
    width: 100%;
    background: #fff;
    padding: 10px 0;
    box-sizing: border-box;
    border-radius: 6px;
    margin-bottom: 10px;
    .pic {
      width: 80px;
      height: 80px;
      overflow: hidden;
      img {
        width: 100%;
      }
    }
    .orderList {
      width: 100%;
      .state {
        border-bottom: 1px solid;
        text-align: right;
        color: #d63a54;
        padding: 2px 5px;
      }
    }
    .weight {
      color: #999999;
      font-size: 14px;
      padding-top: 5px;
    }
    .num {
      text-align: right;
      padding-top: 5px;
    }
    .all {
      margin-top: 3px;
      display: flex;
      justify-content: space-around;
      border-bottom: 1px solid #e5e5e5;
      padding: 10px;
    }
  }
  .total {
    padding: 10px 0;
    font-size: 14px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    .cost {
      text-align: right;
      display: block;
    }
    .cancel-btn {
      padding: 5px;
      box-sizing: border-box;
      border: 1px solid #999;
      text-align: center;
      font-size: 12px;
      color: #999;
    }
    .ok-btn {
      padding: 5px 15px;
      box-sizing: border-box;
      border: 1px solid #d63a54;
      text-align: center;
      font-size: 12px;
      color: #d63a54;
    }
  }
}
</style>
